package com.gxa.educate.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 课程信息表
 * </p>
 *
 * @author 程度森
 * @since 2022-07-18
 */
@Getter
@Setter
@TableName("tb_course")
@ApiModel(value = "Course对象", description = "课程信息表")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("课程图像")
    private String img;

    @ApiModelProperty("课程名")
    private String name;

    @ApiModelProperty("课程介绍")
    private String introduce;

    @ApiModelProperty("课程价格")
    private Double price;

    @ApiModelProperty("积分")
    private Integer points;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("逻辑删除")
    private Boolean deleted;


}
